package com.java.dormitorymanager.dao;

import com.java.dormitorymanager.pojo.Manager;
import com.java.dormitorymanager.pojo.Student;

import java.util.List;

public interface IStudentDao
{

    void studentRegister(Student student);

    List<Student> findAllMaleStudents();

    List<Student> findAllFemaleStudents();

    Student findStudentByName(String name);

    Student findStudentById(int id);

    void deleteStudentById(int id);

    void updateStudent(Student student);

    List<Student> findAllMaleStudentsWithoutDorm();

    List<Student> findAllFemaleStudentsWithoutDorm();
}
